package com.ruoyi.system.domain.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class OrderSendGroupRecord implements Serializable {

    //指令id
    private Long orderId;
    //指令名称
    private String orderName;
    //指令类型（指令topic）
    private String orderType;
    //下发数量
    private Integer totalCount;
    //下发成功数量
    private Integer successCount;
    //下发人
    private String createUserName;
    //下发时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //组ID
    private Long groupId;
}
